Optimal. Leaf size=32 \[ \frac {(a+b x) \sqrt {a^2+2 a b x+b^2 x^2}}{2 b} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.01, antiderivative size = 32, normalized size of antiderivative = 1.00, number of steps used = 1, number of rules used = 1, integrand size = 20, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.050, Rules used = {609} \[ \frac {(a+b x) \sqrt {a^2+2 a b x+b^2 x^2}}{2 b} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 609
Rubi steps
\begin {align*} \int \sqrt {a^2+2 a b x+b^2 x^2} \, dx &=\frac {(a+b x) \sqrt {a^2+2 a b x+b^2 x^2}}{2 b}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.01, size = 30, normalized size = 0.94 \[ \frac {x \sqrt {(a+b x)^2} (2 a+b x)}{2 (a+b x)} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.88, size = 10, normalized size = 0.31 \[ \frac {1}{2} \, b x^{2} + a x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.17, size = 33, normalized size = 1.03 \[ \frac {1}{2} \, {\left (b x^{2} + 2 \, a x\right )} \mathrm {sgn}\left (b x + a\right ) + \frac {a^{2} \mathrm {sgn}\left (b x + a\right )}{2 \, b} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.04, size = 27, normalized size = 0.84 \[ \frac {\left (b x +2 a \right ) \sqrt {\left (b x +a \right )^{2}}\, x}{2 b x +2 a} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [B] time = 1.33, size = 46, normalized size = 1.44 \[ \frac {1}{2} \, \sqrt {b^{2} x^{2} + 2 \, a b x + a^{2}} x + \frac {\sqrt {b^{2} x^{2} + 2 \, a b x + a^{2}} a}{2 \, b} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.20, size = 19, normalized size = 0.59 \[ \frac {\sqrt {{\left (a+b\,x\right )}^2}\,\left (a+b\,x\right )}{2\,b} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.08, size = 8, normalized size = 0.25 \[ a x + \frac {b x^{2}}{2} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________